<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SUPERFACT: Référence du fichier /home/diallo/Jeu_wordox/projet-wordox/src/sdlJeu.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SUPERFACT</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('sdl_jeu_8c.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier sdlJeu.c</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="sdl_jeu_8h_source.html">sdlJeu.h</a>&quot;</code><br/>
<code>#include &lt;SDL/SDL.h&gt;</code><br/>
<code>#include &lt;SDL/SDL_ttf.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de sdlJeu.c:</div>
<div class="dyncontent">
<div class="center"><img src="sdl_jeu_8c__incl.png" border="0" usemap="#_2home_2diallo_2_jeu__wordox_2projet-wordox_2src_2sdl_jeu_8c" alt=""/></div>
<!-- MAP 0 -->
</div>
</div>
<p><a href="sdl_jeu_8c_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SDL_Surface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a20b4d1d7e2f45bbc4d5f5c18fffce8a2">SDL_load_image</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a695e055ca801891bb79cc6f68ecbf2ae">SDL_apply_surface</a> (SDL_Surface *source, SDL_Surface *destination, int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a853a0bfc1e896a076ed7c873784a538a">sdljeuInit</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">procédure permettant d'initialiser une structure jeu  <a href="#a853a0bfc1e896a076ed7c873784a538a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a763c2b8804fdf21e1510312c319b5a52">sdlJeuLibere</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">procédure permettant de liberer une structure jeu  <a href="#a763c2b8804fdf21e1510312c319b5a52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a1d0f0ecccb22e85f213935767a9e4632">sdlJeuAffiche</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdl_jeu_8c.html#a4c9bc4db5a56183225ae4cbf0f7ef67b">sdljeuBoucle</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSdlJeu)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">procédure permettant de faire tourner le jeu  <a href="#a4c9bc4db5a56183225ae4cbf0f7ef67b"></a><br/></td></tr>
</table>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a695e055ca801891bb79cc6f68ecbf2ae"></a><!-- doxytag: member="sdlJeu.c::SDL_apply_surface" ref="a695e055ca801891bb79cc6f68ecbf2ae" args="(SDL_Surface *source, SDL_Surface *destination, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SDL_apply_surface </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>destination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00659">659</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Référencé par <a class="el" href="sdl_jeu_8c_source.html#l00159">sdlJeuAffiche()</a>, et <a class="el" href="sdl_jeu_8c_source.html#l00239">sdljeuBoucle()</a>.</p>

</div>
</div>
<a class="anchor" id="a20b4d1d7e2f45bbc4d5f5c18fffce8a2"></a><!-- doxytag: member="sdlJeu.c::SDL_load_image" ref="a20b4d1d7e2f45bbc4d5f5c18fffce8a2" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SDL_Surface * SDL_load_image </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00633">633</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Référencé par <a class="el" href="sdl_jeu_8c_source.html#l00159">sdlJeuAffiche()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00239">sdljeuBoucle()</a>, et <a class="el" href="sdl_jeu_8c_source.html#l00010">sdljeuInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a1d0f0ecccb22e85f213935767a9e4632"></a><!-- doxytag: member="sdlJeu.c::sdlJeuAffiche" ref="a1d0f0ecccb22e85f213935767a9e4632" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sdlJeuAffiche </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00159">159</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Références <a class="el" href="_terrain_8c_source.html#l00062">getDim()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00034">sdlJeu::image_fond</a>, <a class="el" href="sdl_jeu_8h_source.html#l00030">sdlJeu::jeu</a>, <a class="el" href="_jeu_8c_source.html#l00049">jeuGetTerrain()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00659">SDL_apply_surface()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00633">SDL_load_image()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00037">sdlJeu::surface_annuler</a>, <a class="el" href="sdl_jeu_8h_source.html#l00040">sdlJeu::surface_avatar</a>, <a class="el" href="sdl_jeu_8h_source.html#l00032">sdlJeu::surface_case</a>, <a class="el" href="sdl_jeu_8h_source.html#l00033">sdlJeu::surface_chevalet</a>, <a class="el" href="sdl_jeu_8h_source.html#l00031">sdlJeu::surface_ecran</a>, <a class="el" href="sdl_jeu_8h_source.html#l00039">sdlJeu::surface_milieu</a>, <a class="el" href="sdl_jeu_8h_source.html#l00041">sdlJeu::surface_texte_nom_joueur</a>, <a class="el" href="sdl_jeu_8h_source.html#l00042">sdlJeu::surface_texte_score</a>, <a class="el" href="sdl_jeu_8h_source.html#l00036">sdlJeu::surface_valider</a>, <a class="el" href="sdl_jeu_8h_source.html#l00038">sdlJeu::surface_vortex</a>, et <a class="el" href="_terrain_8c_source.html#l00052">terGetXY()</a>.</p>

<p>Référencé par <a class="el" href="sdl_jeu_8c_source.html#l00239">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="sdl_jeu_8c_a1d0f0ecccb22e85f213935767a9e4632_cgraph.png" border="0" usemap="#sdl_jeu_8c_a1d0f0ecccb22e85f213935767a9e4632_cgraph" alt=""/></div>
<!-- MAP 1 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a4c9bc4db5a56183225ae4cbf0f7ef67b"></a><!-- doxytag: member="sdlJeu.c::sdljeuBoucle" ref="a4c9bc4db5a56183225ae4cbf0f7ef67b" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sdljeuBoucle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>procédure permettant de faire tourner le jeu </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>pointeur sur une structure <a class="el" href="structsdl_jeu.html">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00239">239</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Références <a class="el" href="_jeu_8c_source.html#l00207">caseVortex()</a>, <a class="el" href="_chevalet_8c_source.html#l00020">chevGetLettre()</a>, <a class="el" href="_chevalet_8c_source.html#l00005">chevRemplir()</a>, <a class="el" href="_chevalet_8c_source.html#l00066">chevTestCaseVide()</a>, <a class="el" href="_terrain_8c_source.html#l00062">getDim()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00030">sdlJeu::jeu</a>, <a class="el" href="_jeu_8c_source.html#l00054">jeuGetChev()</a>, <a class="el" href="_jeu_8c_source.html#l00049">jeuGetTerrain()</a>, <a class="el" href="_jeu_8c_source.html#l00066">reInitChev()</a>, <a class="el" href="_jeu_8c_source.html#l00059">reInitTer()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00659">SDL_apply_surface()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00633">SDL_load_image()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00159">sdlJeuAffiche()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00010">sdljeuInit()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00126">sdlJeuLibere()</a>, <a class="el" href="_joueur_8c_source.html#l00021">setScore()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00032">sdlJeu::surface_case</a>, <a class="el" href="sdl_jeu_8h_source.html#l00033">sdlJeu::surface_chevalet</a>, <a class="el" href="sdl_jeu_8h_source.html#l00031">sdlJeu::surface_ecran</a>, <a class="el" href="sdl_jeu_8h_source.html#l00039">sdlJeu::surface_milieu</a>, <a class="el" href="sdl_jeu_8h_source.html#l00042">sdlJeu::surface_texte_score</a>, <a class="el" href="sdl_jeu_8h_source.html#l00038">sdlJeu::surface_vortex</a>, <a class="el" href="_terrain_8c_source.html#l00052">terGetXY()</a>, <a class="el" href="_terrain_8c_source.html#l00042">terPositionValide()</a>, <a class="el" href="_terrain_8c_source.html#l00057">terSetXY()</a>, <a class="el" href="_jeu_8c_source.html#l00073">verifFormeMot()</a>, <a class="el" href="_jeu_8c_source.html#l00097">verifJoueEtoile()</a>, et <a class="el" href="_jeu_8c_source.html#l00112">verifMotRaccorde()</a>.</p>

<p>Référencé par <a class="el" href="main_8c_source.html#l00012">main()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="sdl_jeu_8c_a4c9bc4db5a56183225ae4cbf0f7ef67b_cgraph.png" border="0" usemap="#sdl_jeu_8c_a4c9bc4db5a56183225ae4cbf0f7ef67b_cgraph" alt=""/></div>
<!-- MAP 2 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a853a0bfc1e896a076ed7c873784a538a"></a><!-- doxytag: member="sdlJeu.c::sdljeuInit" ref="a853a0bfc1e896a076ed7c873784a538a" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sdljeuInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>procédure permettant d'initialiser une structure jeu </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>pointeur sur une structure <a class="el" href="structsdl_jeu.html">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00010">10</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Références <a class="el" href="_chevalet_8c_source.html#l00020">chevGetLettre()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00035">sdlJeu::efface_lettre</a>, <a class="el" href="sdl_jeu_8h_source.html#l00034">sdlJeu::image_fond</a>, <a class="el" href="sdl_jeu_8h_source.html#l00030">sdlJeu::jeu</a>, <a class="el" href="_jeu_8c_source.html#l00054">jeuGetChev()</a>, <a class="el" href="_jeu_8c_source.html#l00011">jeuInit()</a>, <a class="el" href="sdl_jeu_8c_source.html#l00633">SDL_load_image()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00037">sdlJeu::surface_annuler</a>, <a class="el" href="sdl_jeu_8h_source.html#l00040">sdlJeu::surface_avatar</a>, <a class="el" href="sdl_jeu_8h_source.html#l00032">sdlJeu::surface_case</a>, <a class="el" href="sdl_jeu_8h_source.html#l00033">sdlJeu::surface_chevalet</a>, <a class="el" href="sdl_jeu_8h_source.html#l00031">sdlJeu::surface_ecran</a>, <a class="el" href="sdl_jeu_8h_source.html#l00039">sdlJeu::surface_milieu</a>, <a class="el" href="sdl_jeu_8h_source.html#l00041">sdlJeu::surface_texte_nom_joueur</a>, <a class="el" href="sdl_jeu_8h_source.html#l00042">sdlJeu::surface_texte_score</a>, <a class="el" href="sdl_jeu_8h_source.html#l00036">sdlJeu::surface_valider</a>, et <a class="el" href="sdl_jeu_8h_source.html#l00038">sdlJeu::surface_vortex</a>.</p>

<p>Référencé par <a class="el" href="sdl_jeu_8c_source.html#l00239">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="sdl_jeu_8c_a853a0bfc1e896a076ed7c873784a538a_cgraph.png" border="0" usemap="#sdl_jeu_8c_a853a0bfc1e896a076ed7c873784a538a_cgraph" alt=""/></div>
<!-- MAP 3 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a763c2b8804fdf21e1510312c319b5a52"></a><!-- doxytag: member="sdlJeu.c::sdlJeuLibere" ref="a763c2b8804fdf21e1510312c319b5a52" args="(sdlJeu *pSdlJeu)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sdlJeuLibere </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSdlJeu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>procédure permettant de liberer une structure jeu </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>pointeur sur une structure <a class="el" href="structsdl_jeu.html">sdlJeu</a> </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="sdl_jeu_8c_source.html#l00126">126</a> du fichier <a class="el" href="sdl_jeu_8c_source.html">sdlJeu.c</a>.</p>

<p>Références <a class="el" href="sdl_jeu_8h_source.html#l00035">sdlJeu::efface_lettre</a>, <a class="el" href="sdl_jeu_8h_source.html#l00034">sdlJeu::image_fond</a>, <a class="el" href="sdl_jeu_8h_source.html#l00030">sdlJeu::jeu</a>, <a class="el" href="_jeu_8c_source.html#l00033">jeuLib()</a>, <a class="el" href="sdl_jeu_8h_source.html#l00037">sdlJeu::surface_annuler</a>, <a class="el" href="sdl_jeu_8h_source.html#l00040">sdlJeu::surface_avatar</a>, <a class="el" href="sdl_jeu_8h_source.html#l00032">sdlJeu::surface_case</a>, <a class="el" href="sdl_jeu_8h_source.html#l00033">sdlJeu::surface_chevalet</a>, <a class="el" href="sdl_jeu_8h_source.html#l00039">sdlJeu::surface_milieu</a>, <a class="el" href="sdl_jeu_8h_source.html#l00041">sdlJeu::surface_texte_nom_joueur</a>, <a class="el" href="sdl_jeu_8h_source.html#l00042">sdlJeu::surface_texte_score</a>, <a class="el" href="sdl_jeu_8h_source.html#l00036">sdlJeu::surface_valider</a>, et <a class="el" href="sdl_jeu_8h_source.html#l00038">sdlJeu::surface_vortex</a>.</p>

<p>Référencé par <a class="el" href="main_8c_source.html#l00012">main()</a>, et <a class="el" href="sdl_jeu_8c_source.html#l00239">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="sdl_jeu_8c_a763c2b8804fdf21e1510312c319b5a52_cgraph.png" border="0" usemap="#sdl_jeu_8c_a763c2b8804fdf21e1510312c319b5a52_cgraph" alt=""/></div>
<!-- MAP 4 -->
</div>
</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="sdl_jeu_8c.html">sdlJeu.c</a>      </li>
      <li class="footer">Généré le Thu Nov 29 2012 17:24:07 pour SUPERFACT par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
